﻿@using Abp.Authorization.Users
@using Xwy.MyProject.Modules
@using Xwy.MyProject.Web.Models.Common.Modals
@{
    Layout = null;
}
<div class="modal fade" id="ModuleCreateModal" tabindex="-1" role="dialog" aria-labelledby="ModuleCreateModalLabel" data-backdrop="static">
    <div class="modal-dialog modal-lg" role="document">
        <div class="modal-content">
            @await Html.PartialAsync("~/Views/Shared/Modals/_ModalHeader.cshtml", new ModalHeaderViewModel(L("CreateNewModule")))
            <form name="moduleCreateForm" role="form" class="form-horizontal">
                <div class="modal-body">
                    <div class="form-group row required">
                        <label class="col-md-3 col-form-label">@L("Name")</label>
                        <div class="col-md-9">
                            <input type="text" name="Name" class="form-control" required maxlength="255" minlength="2">
                        </div>
                    </div>
                    <div class="form-group row required">
                        <label class="col-md-3 col-form-label">@L("DisplayName")</label>
                        <div class="col-md-9">
                            <input type="text" name="DisplayName" class="form-control" required maxlength="255">
                        </div>
                    </div>
                    <div class="form-group row required">
                        <label class="col-md-3 col-form-label">@L("Url")</label>
                        <div class="col-md-9">
                            <input type="url" name="Url" class="form-control" required maxlength="255">
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-md-3 col-form-label">@L("HotKey") </label>
                        <div class="col-md-9">
                            <input type="text" name="HotKey" class="form-control" maxlength="255">
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-md-3 col-form-label">@L("IconName")</label>
                        <div class="col-md-9">
                            <input type="text" name="IconName" value="" />
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-md-3 col-form-label">@L("Status")</label>
                        <div class="col-md-9">
                            <input type="text" name="Status" value="" />
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-md-3 col-form-label">@L("ParentName")</label>
                        <div class="col-md-9">
                            <input type="text" name="ParentName" value="" />
                        </div>
                    </div>

                    
                </div>
                @await Html.PartialAsync("~/Views/Shared/Modals/_ModalFooterWithSaveAndCancel.cshtml")
            </form>
        </div>
    </div>
</div>
